﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WomanMotion.WebApi.Model.Dtos.SysConfig
{
    /// <summary>
    /// 系统参数添加dto
    /// </summary>
    public class CreatedSysConfigDTO
    {
        /// <summary>
        /// 参数名
        /// </summary>
        [Required(ErrorMessage = "参数名不能为空")]
        public string? Name { get; set; }

        /// <summary>
        /// 参数值
        /// </summary>
        [Required(ErrorMessage = "参数值不能为空")]
        public string? Value { get; set; }
    }
}